pub struct FileInfo {
pub is_append: Option<bool>,
pub observer: Option<Handle>,
pub stream: Option<Handle>,
pub attributes: Option<NodeAttributes2>,
}
Expand description
Auxiliary data for the file representation of a node.
Fields§
§is_append: Option<bool>
§observer: Option<Handle>
§stream: Option<Handle>
§attributes: Option<NodeAttributes2>
Trait Implementations§
Source§impl Encodable for FileInfo
impl Encodable for FileInfo
Source§type Encoded = WireFileInfo<'static>
type Encoded = WireFileInfo<'static>
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl<'de> FromWire<WireFileInfo<'de>> for FileInfo
impl<'de> FromWire<WireFileInfo<'de>> for FileInfo
Source§fn from_wire(wire: WireFileInfo<'de>) -> Self
fn from_wire(wire: WireFileInfo<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Auto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.