Struct rs9p::fcall::Flock[][src]

pub struct Flock {
    pub typ: LockType,
    pub flags: LockFlag,
    pub start: u64,
    pub length: u64,
    pub proc_id: u32,
    pub client_id: String,
}

Similar to Linux struct flock

Protocol

9P2000.L

Fields

typ: LockTypeflags: LockFlagstart: u64length: u64proc_id: u32client_id: String

Trait Implementations

impl Clone for Flock[src]

impl Debug for Flock[src]

impl Decodable for Flock[src]

impl Encodable for Flock[src]

impl Eq for Flock[src]

impl Hash for Flock[src]

impl Ord for Flock[src]

impl PartialEq<Flock> for Flock[src]

impl PartialOrd<Flock> for Flock[src]

impl StructuralEq for Flock[src]

impl StructuralPartialEq for Flock[src]

Auto Trait Implementations

impl RefUnwindSafe for Flock

impl Send for Flock

impl Sync for Flock

impl Unpin for Flock

impl UnwindSafe for Flock

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.