AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Rust's Safety Rails
In Rust, it's not possible to have sort of like a node pointer. You always have you return like a result type or an option type which can either be true, false or there is something or there's like nothing. And if your function is returning, let's say you want to write or you want to open like a file and this function returns like the status of this operation. It will never write into like a memory space, you're not allowed to write. So these are like the safety rails that Rust provides.